#include "../../platform/win32/inc/stdafx.h"
#include "../common/inc/InternalCommon.h"
#include "../inc/Handle.h"

namespace	Platform
{

	namespace System
	{

		CHandle::CHandle(){}

		CHandle::~CHandle(){}

		CHandle::CHandle(const CHandle &object)
		{
			(*this) = object;
		}

		CHandle& CHandle::operator=(const CHandle &object)
		{
			return (*this);
		}

		bool CHandle::operator==(const CHandle &object)
		{
			return (this == &object);
		}

		int CHandle::CheckValid()
		{
			return m_System.CheckValid();
		}

		int CHandle::Invalid()
		{
			return m_System.Invalid();
		}

		int CHandle::SetHandle(IN const SYSTEM_HANDLE &handle)
		{
			return m_System.SetHandle(handle);
		}

		int CHandle::GetHandle(OUT SYSTEM_HANDLE &handle)
		{
			return m_System.GetHandle(handle);
		}

	}

}